package com.core.zyyz.amc.modules.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.core.common.annotation.Excel;
import com.core.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 子节点配置对象 amc_project_subnode
 *
 * @author LiuFushun
 * @date 2024-11-20
 */
public class AmcProjectSubnode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子节点id */
    private String subnodeId;

    /** 子节点编码 */
    @Excel(name = "子节点编码")
    private String subnodeCode;

    /** 子节点名称 */
    @Excel(name = "子节点名称")
        private String subnodeName;

    /** 父节点编码 */
    @Excel(name = "父节点编码")
    private String nodeCode;

    /** 子节点序号 */
    @Excel(name = "子节点序号")
    private Long subnodeSeq;

    /** 子节点对应业务表名 */
    @Excel(name = "子节点对应业务表名")
    private String subnodeTableName;

    /** 业务表ID */
    @Excel(name = "业务表ID")
    private String tableIdRow;

    /** 业务表编号 */
    @Excel(name = "业务表编号")
    private String BUSSNUMBER;

    /** 子节点是否启用 */
    @Excel(name = "子节点是否启用")
    private String subnodeEnabled;

    /** 子节点备注 */
    @Excel(name = "子节点备注")
    private String subnodeRemark;

    /** 确定父节点状态 */
    @Excel(name = "确定父节点状态")
    private String isornotResult;

    /** 查看URL */
    @Excel(name = "查看URL")
    private String aHref;

    /** 业务主页URL */
    @Excel(name = "业务主页URL")
    private String nodeHref;

    /** 新增URL */
    @Excel(name = "新增URL")
    private String aHrefAdd;

    /** 修改URL */
    @Excel(name = "修改URL")
    private String aHrefEdit;

    /** 权限实体编码 */
    @Excel(name = "权限实体编码")
    private String privcode;

    /** 功能编码 */
    @Excel(name = "功能编码")
    private String functionCode;

//    @TableField(exist = false)
    private String[] baseProjectType; //用来修改时，保存项目类型编码集。

    public String[] getBaseProjectType() {
        return baseProjectType;
    }

    public void setBaseProjectType(String[] baseProjectType) {
        this.baseProjectType = baseProjectType;
    }

    public void setSubnodeId(String subnodeId)
    {
        this.subnodeId = subnodeId;
    }

    public String getSubnodeId()
    {
        return subnodeId;
    }
    public void setSubnodeCode(String subnodeCode)
    {
        this.subnodeCode = subnodeCode;
    }

    public String getSubnodeCode()
    {
        return subnodeCode;
    }
    public void setSubnodeName(String subnodeName)
    {
        this.subnodeName = subnodeName;
    }

    public String getSubnodeName()
    {
        return subnodeName;
    }
    public void setNodeCode(String nodeCode)
    {
        this.nodeCode = nodeCode;
    }

    public String getNodeCode()
    {
        return nodeCode;
    }
    public void setSubnodeSeq(Long subnodeSeq)
    {
        this.subnodeSeq = subnodeSeq;
    }

    public Long getSubnodeSeq()
    {
        return subnodeSeq;
    }
    public void setSubnodeTableName(String subnodeTableName)
    {
        this.subnodeTableName = subnodeTableName;
    }

    public String getSubnodeTableName()
    {
        return subnodeTableName;
    }
    public void setTableIdRow(String tableIdRow)
    {
        this.tableIdRow = tableIdRow;
    }

    public String getTableIdRow()
    {
        return tableIdRow;
    }
    public void setBUSSNUMBER(String BUSSNUMBER)
    {
        this.BUSSNUMBER = BUSSNUMBER;
    }

    public String getBUSSNUMBER()
    {
        return BUSSNUMBER;
    }
    public void setSubnodeEnabled(String subnodeEnabled)
    {
        this.subnodeEnabled = subnodeEnabled;
    }

    public String getSubnodeEnabled()
    {
        return subnodeEnabled;
    }
    public void setSubnodeRemark(String subnodeRemark)
    {
        this.subnodeRemark = subnodeRemark;
    }

    public String getSubnodeRemark()
    {
        return subnodeRemark;
    }
    public void setIsornotResult(String isornotResult)
    {
        this.isornotResult = isornotResult;
    }

    public String getIsornotResult()
    {
        return isornotResult;
    }
    public void setaHref(String aHref)
    {
        this.aHref = aHref;
    }

    public String getaHref()
    {
        return aHref;
    }
    public void setNodeHref(String nodeHref)
    {
        this.nodeHref = nodeHref;
    }

    public String getNodeHref()
    {
        return nodeHref;
    }
    public void setaHrefAdd(String aHrefAdd)
    {
        this.aHrefAdd = aHrefAdd;
    }

    public String getaHrefAdd()
    {
        return aHrefAdd;
    }
    public void setaHrefEdit(String aHrefEdit)
    {
        this.aHrefEdit = aHrefEdit;
    }

    public String getaHrefEdit()
    {
        return aHrefEdit;
    }
    public void setPrivcode(String privcode)
    {
        this.privcode = privcode;
    }

    public String getPrivcode()
    {
        return privcode;
    }
    public void setFunctionCode(String functionCode)
    {
        this.functionCode = functionCode;
    }

    public String getFunctionCode()
    {
        return functionCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("subnodeId", getSubnodeId())
                .append("subnodeCode", getSubnodeCode())
                .append("subnodeName", getSubnodeName())
                .append("nodeCode", getNodeCode())
                .append("subnodeSeq", getSubnodeSeq())
                .append("subnodeTableName", getSubnodeTableName())
                .append("tableIdRow", getTableIdRow())
                .append("BUSSNUMBER", getBUSSNUMBER())
                .append("subnodeEnabled", getSubnodeEnabled())
                .append("subnodeRemark", getSubnodeRemark())
                .append("isornotResult", getIsornotResult())
                .append("aHref", getaHref())
                .append("nodeHref", getNodeHref())
                .append("aHrefAdd", getaHrefAdd())
                .append("aHrefEdit", getaHrefEdit())
                .append("privcode", getPrivcode())
                .append("functionCode", getFunctionCode())
                .toString();
    }
}
